package com.cdd.agent.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdd.common.domain.entity.AgentUser;
import com.cdd.agent.api.domain.dto.AgentTxMingxiCountDto;
import com.cdd.agent.api.domain.dto.AgentTxMingxiDto;
import org.apache.ibatis.annotations.Select;

public interface AgentUserMapper extends BaseMapper<AgentUser> {

    @Select("select * from agent_user where userId = #{userId}")
    AgentUser getUserId(Integer userId);

    AgentTxMingxiCountDto getAgentTxMingxiCount(AgentTxMingxiDto dto);

}